<template>
  <!-- <MyNumber :count='count' @update:count='Fn'/> -->
  <MyNumber v-model:count='count' />
</template>

<script>
import { ref } from 'vue-demi'
import MyNumber from './components/MyNumber.vue'
export default {
  components: { MyNumber },
  setup () {
    const count = ref(10)
    const Fn = (val) => {
      count.value = val
    }
    console.log(count)
    return { count, Fn }
  }
}
</script>

<style>

</style>
